////not.cpp -- using the not operator
//#include <iostream>
//#include <climits>
//bool is_int(double);
//int main()
//{
//	using namespace std;
//	double num;
//
//	cout << "Yo,dude! Enter an inter value: ";
//	cin >> num;
//	while (!is_int(num))	//continue while num is not int-albe
//	{
//		cout << "Out of range -- please try again; ";
//		cin >> num;
//	}
//	int val = int(num);		//type cast
//	cout << "You're entered the integer " << val << "\nBye\n";
//	return 0;
//}
//
//bool is_int(double x)
//{
//	if (x <= INT_MAX && x >= INT_MIN)		//use climits values
//		return true;
//	else
//		return false;
//}